Simple_History\Menu_Page A

Total Complexity 59
Dependencies 4
Dependents 12
Total lines 561
Lines of code 222
Logical lines of code 101
Comment lines 238
Methods 33
Properties 14

Methods 33

Method Rating Maintainability Complexity Lines of code
set_parent()
A
45 7 50
set_location()
A
55 8 20
get_url()
S
54 7 22
get_children()
S
60 3 15
render()
S
69 3 7
set_menu_slug()
S
68 2 7
get_parent_menu_slug()
S
72 2 6
sanitize_menu_slug()
S
68 2 7
__construct()
S
76 1 4
set_page_title()
S
77 1 4
set_menu_title()
S
77 1 4
set_capability()
S
77 1 4
set_callback()
S
77 1 4
set_icon()
S
77 1 4
set_order()
S
77 1 4
get_parent()
S
82 1 3
get_page_title()
S
82 1 3
get_menu_title()
S
82 1 3
get_capability()
S
82 1 3
get_menu_slug()
S
82 1 3
get_icon()
S
82 1 3
get_order()
S
82 1 3
get_location()
S
82 1 3
set_hook_suffix()
S
81 1 3
get_hook_suffix()
S
82 1 3
add_submenu()
S
71 1 6
get_submenu_pages()
S
82 1 3
set_menu_manager()
S
77 1 4
is_current_tab()
S
80 1 3
is_current_sub_tab()
S
80 1 3
set_redirect_to_first_child_on_load()
S
77 1 4
get_redirect_to_first_child_on_load()
S
82 1 3
add()
S
77 1 4